//! Header for the TranspRectangle class
/*!
	\file TranspRectangle.h
	\author Andreas Lehner
	\date 13.11.2012

*/
#ifndef TRANSPRECTANGLE_H
#define TRANSPRECTANGLE_H

#include "Rectangle.h"

//! Describes a transparent rectangle
/*!
\class TranspRectangle
The class TranspRectangle implements the DoWrite function for a transparent rectangle.
*/
class TranspRectangle : public Rectangle {
public:
	//! CTor of TranspRectangle
	/*!
	This constructor is needed by the ShapeFactory that it is able to create an object of this class.
	All three parameters are set in the class Rectangle (Rectangle constructor is called).
	\param pos The position of the rectangle on a picture.
	\param size The dimensions of a rectangle.
	\param color The color a rectangle has.
	*/
	TranspRectangle(TPosition const& pos, TSize const& size, std::string const& color) : Rectangle(pos, size, color){};
protected:
	void DoWrite(std::ostream & stream);
};

#endif